﻿using PublicCommon;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Approval.Domain.Common
{
    public class RLZDto:Audit
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        [StringLength(10)]
        public string? Dname { get; set; }
        /// <summary>
        /// 职位名称
        /// </summary>
        [StringLength(30)]
        public string? Rname { get; set; }
        /// <summary>
        /// 员工姓名
        /// </summary>
        [StringLength(20)]
        public string? EmployeeId { get; set; }
        /// <summary>
        /// 上级负责人
        /// </summary>
        [StringLength(20)]
        public string? SuperiorId { get; set; }
        /// <summary>
        /// 入职日期
        /// </summary>
        public DateTime? EntryDate { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public string? Desc { get; set; }
        /// <summary>
        /// 最后工作日
        /// </summary>
        public DateTime? LastDate { get; set; }
        /// <summary>
        /// 离职原因
        /// </summary>
        [StringLength(200)]
        public string? DimissionText { get; set; }
        /// <summary>
        /// 申请日期
        /// </summary>
        public DateTime? FiledDate { get; set; }
        /// <summary>
        /// 试用期工作总结
        /// </summary>
        [StringLength(200)]
        public string? ProbationText { get; set; }
        /// <summary>
        /// 对公司的意见和建议
        /// </summary>
        [StringLength(200)]
        public string? CompanyText { get; set; }
        /// <summary>
        /// 标识列
        /// </summary>
        public int RLZId { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        [StringLength(10)]
        public string? ApprovedBy { get; set; }
    }
}
